package com.bupt.ilink.entity.innovationPlaza.DTO;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigInteger;
import java.util.Date;
import java.util.List;

//用于将数据从服务层传递给前端，项目展示概览
@Data
public class ProjectResponse {
    @TableField("project_id")
    private Long projectId;
    private String name;
    private List<String> tags;
    private String description;

    private Integer likeNum;
    private Integer shareNum;
    private Integer lookNum;
    //点赞状态
    private boolean likeTrue;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
    private Date createdTime;

    private String image;//项目概览图片

    private String introduction;
    private String advertise;
    private String innovation;
    private Integer projectStyle;

    private List<String> projectImages;//项目展示图片


}
